]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Disable swipe tracker during swarm animation
authorAlexander Mikhaylenko <exalm7659@gmail.com>
Wed, 5 Feb 2020 19:59:38 +0000 (00:59 +0500)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 6 Feb 2020 17:36:05 +0000 (17:36 +0000)
Eensures it resets when an animation starts.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2177

js/ui/appDisplay.js

index 1346b93fea34d7006e5cda42400f8bb73de07af7..115285f32022f08679b87d0ff76d7d901e15a76c 100644 (file)
@@ -530,8 +530,10 @@ var AllView = GObject.registerClass({
     // Overridden from BaseAppView
     animate(animationDirection, onComplete) {
         this._scrollView.reactive = false;
+        this._swipeTracker.enabled = false;
         let completionFunc = () => {
             this._scrollView.reactive = true;
+            this._swipeTracker.enabled = this.mapped;
             if (onComplete)
                 onComplete();
         };